#include "utils.h"
int getRandByTime(int max) {
	srand(time(nullptr));
	return rand() % max;
}

bool getRandsByTime(int times,int max,vector<int>& res) {
	srand(time(nullptr));
	for (int i = 0; i < times; ++i) {
		res.emplace_back(rand() % max);
	}
	return rand() % max;
}